<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @property bool $type 类型:1=订单,2=会员
 * @property float $amount
 * @property int $id
 * @property int $num
 * @property int $user_id
 * @property string $createtime
 * @property string $mark
 * @property-read \app\model\User $user
 * @mixin \think\Model
 */
class AdminMoneyLog extends Model
{
	protected $createTime = 'createtime';
	
	function user()
	{
		return $this->belongsTo(User::class,'user_id');
	}
}
